package com.example.itcacp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.itcacp.entity.Category;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CategoryService extends IService<Category> {

    // 查询所有分类
    List<Category> selectCateAll();

    // 分页查询分类
    PageInfo<Category> selectCatePage(Integer pageNum, Integer pageSize, String categoryName);

}
